package com.ibeeking.gmc.global.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ibeeking.found.common.base.BaseDO;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName TenantDatasourceDO
 * @Description
 * @Author ibeeking
 * @Date 2020-12-23 13:43
 **/
@Data
@TableName("gmc_tenant_datasource")
public class TenantDatasourceDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private Integer tenantId;

    /**
     * 数据源id
     */
    @TableField(value = "datasource_id")
    private Long datasourceId;
}
